import {
  Carousel,
  CarouselItem,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Divider,
  Input,
  Form,
  FormItem,
  Button,
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Message,
  Table,
  TableColumn,
  Radio,
  RadioGroup,
  RadioButton,
  Select,
  Option,
  MessageBox,
  Loading,
  Dialog,
  Alert,
  Card,
  Drawer,
} from "element-ui";
const element = {
  install: function (Vue) {
    Vue.use(Option);
    Vue.use(Select);
    Vue.use(RadioButton);
    Vue.use(RadioGroup);
    Vue.use(Radio);
    Vue.use(Carousel);
    Vue.use(Dropdown);
    Vue.use(CarouselItem);
    Vue.use(DropdownMenu);
    Vue.use(DropdownItem);
    Vue.use(Divider);
    Vue.use(Input);
    Vue.use(Form);
    Vue.use(FormItem);
    Vue.use(Button);
    Vue.use(Menu);
    Vue.use(Submenu);
    Vue.use(MenuItem);
    Vue.use(MenuItemGroup);
    Vue.use(Table);
    Vue.use(TableColumn);
    Vue.use(Loading);
    Vue.use(Dialog);
    Vue.use(Alert);
    Vue.use(Card);
    Vue.use(Drawer);
    Vue.prototype.$message = Message;
    Vue.prototype.$msgbox = MessageBox;
    Vue.prototype.$confirm = MessageBox.confirm;
    Vue.prototype.$loading = Loading.service;
  },
};
export default element;
